package com.guigu.service.impl;

import com.guigu.mapper.MemberMapper;
import com.guigu.pojo.Member;
import com.guigu.pojo.Memberdynamicinfo;
import com.guigu.pojo.Memberexamination;
import com.guigu.service.MemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MemberServiceImpl implements MemberService {
    @Autowired
    MemberMapper mapper;
    @Override
    public int insert(Member record) {
        return mapper.insert(record);
    }

    @Override
    public Member ca(Member member) {
        return mapper.ca(member);
    }

    @Override
    public int upda(Member record) {
        return mapper.upda(record);
    }

    @Override
    public Member basicinfo(Integer id) {
        return mapper.basicinfo(id);
    }


    @Override
    public Member login(Member member) {
        return mapper.login(member);
    }

    @Override
    public List<Member> sj(Integer id) {
        return mapper.sj(id);
    }

    @Override
    public int zt(Integer id) {
        return mapper.zt(id);
    }

    @Override
    public List<Member> show(Integer memberid) {
        return mapper.show(memberid);
    }
}
